/**
 * 
 */
package com.p2p.front.dal.model;

import java.util.Date;

import com.p2p.base.model.Money;
import com.p2p.base.util.DateUtil;
import com.p2p.front.dal.model.TenderReturn.ReturnType;
import com.p2p.front.util.RateUtil;

/**
 * @author ruiqi
 *
 */
public class LoanRepay {

	private Long rid;//还款ID
	private Long lid;//贷款ID
	private Long slid;//子贷款ID
	private Integer samount;//子贷款金额
	private Long uid;//用户ID
	private Integer no;//第几期
	private Date startTime;//开始计息时间
	private Date time;//还款时间
	private Money repayAmount = new Money();//还款金额
	private Money principal = new Money();//还款本金
	private Money returnAmount = new Money();//已还金额
	private Money returnPrincipal = new Money();//已还本金
	private Money loanFee = new Money();//管理费
	private Money lateFee = new Money();//逾期费用
	private Integer early;//是否提前还款
	private String picurl;//还款截图
	private String lateurl;//逾期链接
	private Integer status;//状态:1-无效,11-还款中,21-还款成功,31-系统已代还,32-代还已回收
	private Integer ostatus;//状态:1-无效,11-还款中,21-还款成功,31-系统已代还,32-代还已回收
	private Date uptime;//更新时间
	private Date paytime;//还款时间
	private Date oktime;//完成时间
	
	
	
	public Long getRid() {
		return rid;
	}
	public void setRid(Long rid) {
		this.rid = rid;
	}
	public Long getLid() {
		return lid;
	}
	public void setLid(Long lid) {
		this.lid = lid;
	}
	public Long getSlid() {
		return slid;
	}
	public void setSlid(Long slid) {
		this.slid = slid;
	}
	public Integer getSamount() {
		return samount;
	}
	public void setSamount(Integer samount) {
		this.samount = samount;
	}
	public Long getUid() {
		return uid;
	}
	public void setUid(Long uid) {
		this.uid = uid;
	}
	public Integer getNo() {
		return no;
	}
	public void setNo(Integer no) {
		this.no = no;
	}
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}
	public Money getRepayAmount() {
		return repayAmount;
	}
	public void setRepayAmount(Money repayAmount) {
		this.repayAmount = repayAmount;
	}
	public Money getPrincipal() {
		return principal;
	}
	public void setPrincipal(Money principal) {
		this.principal = principal;
	}
	public Money getReturnAmount() {
		return returnAmount;
	}
	public void setReturnAmount(Money returnAmount) {
		this.returnAmount = returnAmount;
	}
	public Money getReturnPrincipal() {
		return returnPrincipal;
	}
	public void setReturnPrincipal(Money returnPrincipal) {
		this.returnPrincipal = returnPrincipal;
	}
	public Money getLoanFee() {
		return loanFee;
	}
	public void setLoanFee(Money loanFee) {
		this.loanFee = loanFee;
	}
	public Money getLateFee() {
		return lateFee;
	}
	public void setLateFee(Money lateFee) {
		this.lateFee = lateFee;
	}
	public Integer getEarly() {
		return early;
	}
	public void setEarly(Integer early) {
		this.early = early;
	}
	public String getPicurl() {
		return picurl;
	}
	public void setPicurl(String picurl) {
		this.picurl = picurl;
	}
	public String getLateurl() {
		return lateurl;
	}
	public void setLateurl(String lateurl) {
		this.lateurl = lateurl;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Integer getOstatus() {
		return ostatus;
	}
	public void setOstatus(Integer ostatus) {
		this.ostatus = ostatus;
	}
	public Date getUptime() {
		return uptime;
	}
	public void setUptime(Date uptime) {
		this.uptime = uptime;
	}
	public Date getPaytime() {
		return paytime;
	}
	public void setPaytime(Date paytime) {
		this.paytime = paytime;
	}
	public Date getOktime() {
		return oktime;
	}
	public void setOktime(Date oktime) {
		this.oktime = oktime;
	}
	
	public Date getStartTime() {
		return startTime;
	}
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	
}
